<?php

class AuthentificationController extends Zend_Controller_Action {

	function indexAction() {
		// Affiche tous les membres
		$auth = new Authentification();
        
        $estConnecte = $auth->login($_POST['login'],$_POST['password']);
        if ($estConnecte) {
            $this->view->user = true;
        }else{
            $this->view->user = false;        
        }
            
	}
}

